package com.tensquare.article.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tensquare.article.pojo.Article;

import java.util.List;
import java.util.Map;

public interface ArticleService {
    List<Article> findAll();
    Article findById(String articleId);
    void save(Article article);
    void updateById(String articleId, Article article);
    void deleteById(String articleId);
    Page<Article> search(Integer page, Integer size, Map<String, Object> map);

}
